#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(){
    char name[100];
    char *description;
    strcpy(name,"Zara Ali");
    description=(char*)malloc(30*sizeof(char));
    strcpy(description,"Zara ali a DPS student.");
    printf("%s\n",description);
    description=(char*)realloc(description,100*sizeof(char));
    strcat(description,"She is in class 10th");
    printf("%s\n",description);
    printf("%c\n",description[3]);
    free(description);
    printf("%s\n",description);
    return 0;
}

